package com.xiaoq.sitesticket.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.xiaoq.MongoEntity;
import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Transient;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;

@Entity(value ="sites_ticket",noClassnameStored = true)
@Document(indexName="titan_test_63",type="sites_ticket",shards=1,replicas=0)
public class SitesTicketEntity extends MongoEntity implements Serializable {

	@JsonIgnore
	@Transient
	private static final long serialVersionUID = -3514611105030334662L;

	private String sitesId;//		景区ID
	private String name;//		名称
	private String sitesName;//		景区名称
	private String sitesShortName;//		景区简称
	private String imgUrl;//		图片URL
	private Integer marketPrice;//		市场价(单位：分)
	private Integer price;//		平台价(单位：分)
	private Integer needRealName;//		是否实名制
	private Integer needIdCard;//		是否需要填写身份证
	private Integer minSaleQty;//		单次购买最小数量
	private Integer maxSaleQty;//		单次购买最大数量
	private Integer checkWay;//		验证方式
	private String containedItems;//		包含项目
	private String consumerType;//		针对人群类型
	private String cancelInfo;//		退改说明
	private String memo;//		备注
	
	public String getSitesId() {
		return sitesId;
	}
	public void setSitesId(String sitesId) {
		this.sitesId = sitesId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSitesName() {
		return sitesName;
	}
	public void setSitesName(String sitesName) {
		this.sitesName = sitesName;
	}
	public String getSitesShortName() {
		return sitesShortName;
	}
	public void setSitesShortName(String sitesShortName) {
		this.sitesShortName = sitesShortName;
	}
	public String getImgUrl() {
		return imgUrl;
	}
	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}
	public Integer getMarketPrice() {
		return marketPrice;
	}
	public void setMarketPrice(Integer marketPrice) {
		this.marketPrice = marketPrice;
	}
	public Integer getPrice() {
		return price;
	}
	public void setPrice(Integer price) {
		this.price = price;
	}
	public Integer getNeedRealName() {
		return needRealName;
	}
	public void setNeedRealName(Integer needRealName) {
		this.needRealName = needRealName;
	}
	public Integer getNeedIdCard() {
		return needIdCard;
	}
	public void setNeedIdCard(Integer needIdCard) {
		this.needIdCard = needIdCard;
	}
	public Integer getMinSaleQty() {
		return minSaleQty;
	}
	public void setMinSaleQty(Integer minSaleQty) {
		this.minSaleQty = minSaleQty;
	}
	public Integer getMaxSaleQty() {
		return maxSaleQty;
	}
	public void setMaxSaleQty(Integer maxSaleQty) {
		this.maxSaleQty = maxSaleQty;
	}
	public Integer getCheckWay() {
		return checkWay;
	}
	public void setCheckWay(Integer checkWay) {
		this.checkWay = checkWay;
	}
	public String getContainedItems() {
		return containedItems;
	}
	public void setContainedItems(String containedItems) {
		this.containedItems = containedItems;
	}
	public String getConsumerType() {
		return consumerType;
	}
	public void setConsumerType(String consumerType) {
		this.consumerType = consumerType;
	}
	public String getCancelInfo() {
		return cancelInfo;
	}
	public void setCancelInfo(String cancelInfo) {
		this.cancelInfo = cancelInfo;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}

}
